package com.electric.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 故障类型
 * </p>
 *
 * @author zhangbin
 * @since 2018-08-28
 */
@TableName("repair_type")
public class RepairType extends Model<RepairType> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("seq_id")
    private String seqId;
    /**
     * 故障类型
     */
    @TableField("repair_type")
    private String repairType;
    /**
     * 代码
     */
    private String code;


    public String getSeqId() {
        return seqId;
    }

    public void setSeqId(String seqId) {
        this.seqId = seqId;
    }

    public String getRepairType() {
        return repairType;
    }

    public void setRepairType(String repairType) {
        this.repairType = repairType;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    protected Serializable pkVal() {
        return this.seqId;
    }

    @Override
    public String toString() {
        return "RepairType{" +
        ", seqId=" + seqId +
        ", repairType=" + repairType +
        ", code=" + code +
        "}";
    }
}
